<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head lang="en">
    <meta charset="UTF-8"/>
    <title></title>
</head>
<body>
    <pre>
      <xmp>
      <?xml version="1.0" encoding="UTF-8" ?>
        <!DOCTYPE mapper
        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">

        <mapper namespace="cn.goktech.dao.${domain.className}Dao">
	        <!-- 根据指定ID查询 -->
	        <select id="findById" parameterType="Integer" resultMap="${domain.className}Result">
                select * from ${domain.dbTable} where ${domain.primaryKey}= ${basecStr}
            </select>
        </mapper>
      </xmp>
    </pre>
</body>
</html>